Comments (9)
Problem Solved. Thanks @luisbergua
from wandb.
Hi, thanks for flagging this! would it be possible to create a new virtual environment and install the package there to see if it works? Also, do you have any wandb
directories in the same path we're you're running your notebook?
from wandb.
Hi, I've tried to follow your instruction as follows:
$ conda create –n new_env python==3.8
$ conda activate new_env
(new_env) $ pip install --upgrade pip
(new_env) $ pip install wandb
(new_env) $ python -c "import wandb; wandb.login()"
wandb: Currently logged in as: 6894556. Use `wandb login --relogin` to force relogin
(new_env) $ ls | grep wandb
(new_env) $ ls wandb
debug-cli.ik.log debug-internal.log debug.log latest-run run-20240319_105333-w8dyb5f6 run-20240319_111543-yz8mgiwj
from wandb.
Hi @6894556, thanks for sharing this information! In the same dir where you are executing your notebook, could you please try to remove the wandb
dir and executing it again? Also, I'd recommend checking where is your wandb package installed with either:
import wandb
print(wandb.__file__)
or
pip show wandb | grep Location
from wandb.
Hi @6894556, just wanted to follow up here! If this is still an issue, mind checking if your package is installed in the right dir and pointing to it if not?
from wandb.
Hi @luisbergua , sorry for the late reply. I've tried as follows:
Is there a right dir to install? I've used new_env
to run my notebook and !pip show | wandb | grep Location
said wandb
is in new_env
.
from wandb.
Thanks for sharing this @6894556. And what happens if you try to execute this in a python file? Are you able to import the package?
from wandb.
@luisbergua I've just tried to execute this in a python file, but I've failed:
from wandb.
@luisbergua It's strange. I've installed wandb
on my terminal, as I've showed, but just a few seconds ago my vs code terminal gave me this:
ModuleNotFoundError: No module named 'wandb'
(new_env) ik@ik-Ubuntu:~/notebooks$ pip show wandb | grep Location
^[[DWARNING: Package(s) not found: wandb
(new_env) ik@ik-Ubuntu:~/notebooks$ pip show wandb | grep Location
WARNING: Package(s) not found: wandb
(new_env) ik@ik-Ubuntu:~/notebooks$ pip list
Package Version
----------------------------- --------------------
aiobotocore 2.5.0
aiofiles 22.1.0
aiohttp 3.8.5
aioitertools 0.7.1
aiosignal 1.2.0
aiosqlite 0.18.0
alabaster 0.7.12
anaconda-anon-usage 0.4.2
anaconda-catalogs 0.2.0
anaconda-client 1.12.1
anaconda-cloud-auth 0.1.3
anaconda-navigator 2.5.0
anaconda-project 0.11.1
anyio 3.5.0
appdirs 1.4.4
argon2-cffi 21.3.0
argon2-cffi-bindings 21.2.0
arrow 1.2.3
astroid 2.14.2
astropy 5.1
asttokens 2.0.5
async-timeout 4.0.2
atomicwrites 1.4.0
attrs 22.1.0
Automat 20.2.0
autopep8 1.6.0
Babel 2.11.0
backcall 0.2.0
backports.functools-lru-cache 1.6.4
backports.tempfile 1.0
backports.weakref 1.0.post1
bcrypt 3.2.0
beautifulsoup4 4.12.2
binaryornot 0.4.4
black 0.0
bleach 4.1.0
bokeh 3.2.1
boltons 23.0.0
botocore 1.29.76
Bottleneck 1.3.5
brotlipy 0.7.0
certifi 2023.7.22
cffi 1.15.1
chardet 4.0.0
charset-normalizer 2.0.4
click 8.0.4
cloudpickle 2.2.1
clyent 1.2.2
colorama 0.4.6
colorcet 3.0.1
coloredlogs 15.0.1
comet-ml 3.39.1
comm 0.1.2
conda 23.7.4
conda-build 3.26.1
conda-content-trust 0.2.0
conda_index 0.3.0
conda-libmamba-solver 23.7.0
conda-pack 0.6.0
conda-package-handling 2.2.0
conda_package_streaming 0.9.0
conda-repo-cli 1.0.75
conda-token 0.4.0
conda-verify 3.4.2
configobj 5.0.8
constantly 15.1.0
contourpy 1.0.5
cookiecutter 1.7.3
cryptography 41.0.3
cssselect 1.1.0
cycler 0.11.0
Cython 3.0.8
cytoolz 0.12.0
daal4py 2023.1.1
dask 2023.6.0
datasets 2.12.0
datashader 0.15.2
datashape 0.5.4
debugpy 1.6.7
decorator 5.1.1
defusedxml 0.7.1
diff-match-patch 20200713
dill 0.3.6
distributed 2023.6.0
docstring-to-markdown 0.11
docutils 0.18.1
dulwich 0.21.7
entrypoints 0.4
et-xmlfile 1.1.0
everett 3.1.0
executing 0.8.3
fastjsonschema 2.16.2
filelock 3.9.0
flake8 6.0.0
Flask 2.2.2
flatbuffers 23.5.26
fonttools 4.25.0
frozenlist 1.3.3
fsspec 2023.4.0
future 0.18.3
gdown 5.0.0
gensim 4.3.0
github2pypi 1.0.0
glob2 0.7
gmpy2 2.1.2
greenlet 2.0.1
h5py 3.9.0
HeapDict 1.0.1
holoviews 1.17.1
hub-sdk 0.0.3
huggingface-hub 0.15.1
humanfriendly 10.0
hvplot 0.8.4
hyperlink 21.0.0
idna 3.4
imagecodecs 2023.1.23
imageio 2.31.1
imagesize 1.4.1
imbalanced-learn 0.10.1
imgviz 1.7.5
importlib-metadata 6.0.0
incremental 21.3.0
inflection 0.5.1
iniconfig 1.1.1
intake 0.6.8
intervaltree 3.1.0
ipykernel 6.25.0
ipython 8.15.0
ipython-genutils 0.2.0
ipywidgets 8.0.4
isort 5.9.3
itemadapter 0.3.0
itemloaders 1.0.4
itsdangerous 2.0.1
jaraco.classes 3.2.1
jedi 0.18.1
jeepney 0.7.1
jellyfish 1.0.1
Jinja2 3.1.2
jinja2-time 0.2.0
jmespath 0.10.0
joblib 1.2.0
json5 0.9.6
jsonpatch 1.32
jsonpointer 2.1
jsonschema 4.17.3
jupyter 1.0.0
jupyter_client 7.4.9
jupyter-console 6.6.3
jupyter_core 5.3.0
jupyter-events 0.6.3
jupyter-server 1.23.4
jupyter_server_fileid 0.9.0
jupyter_server_ydoc 0.8.0
jupyter-ydoc 0.2.4
jupyterlab 3.6.3
jupyterlab-pygments 0.1.2
jupyterlab_server 2.22.0
jupyterlab-widgets 3.0.5
kaleido 0.2.1
keyring 23.13.1
kiwisolver 1.4.4
labelme 5.4.1
lapx 0.5.5
lazy_loader 0.2
lazy-object-proxy 1.6.0
libarchive-c 2.9
libmambapy 1.5.1
linkify-it-py 2.0.0
llvmlite 0.40.0
lmdb 1.4.1
locket 1.0.0
lxml 4.9.3
lz4 4.3.2
Markdown 3.4.1
markdown-it-py 2.2.0
MarkupSafe 2.1.1
matplotlib 3.7.2
matplotlib-inline 0.1.6
mccabe 0.7.0
mdit-py-plugins 0.3.0
mdurl 0.1.0
mistune 0.8.4
mkl-fft 1.3.8
mkl-random 1.2.4
mkl-service 2.4.0
more-itertools 8.12.0
mpmath 1.3.0
msgpack 1.0.3
multidict 6.0.2
multipledispatch 0.6.0
multiprocess 0.70.14
munkres 1.1.4
mypy-extensions 1.0.0
natsort 8.4.0
navigator-updater 0.4.0
nbclassic 0.5.5
nbclient 0.5.13
nbconvert 6.5.4
nbformat 5.9.2
nest-asyncio 1.5.6
networkx 3.1
nh3 0.2.15
nltk 3.8.1
notebook 6.5.4
notebook_shim 0.2.2
numba 0.57.1
numexpr 2.8.4
numpy 1.24.3
numpydoc 1.5.0
nvidia-cublas-cu12 12.1.3.1
nvidia-cuda-cupti-cu12 12.1.105
nvidia-cuda-nvrtc-cu12 12.1.105
nvidia-cuda-runtime-cu12 12.1.105
nvidia-cudnn-cu12 8.9.2.26
nvidia-cufft-cu12 11.0.2.54
nvidia-curand-cu12 10.3.2.106
nvidia-cusolver-cu12 11.4.5.107
nvidia-cusparse-cu12 12.1.0.106
nvidia-nccl-cu12 2.19.3
nvidia-nvjitlink-cu12 12.3.101
nvidia-nvtx-cu12 12.1.105
onnxruntime 1.16.3
opencv-python 4.9.0.80
openpyxl 3.0.10
packaging 23.1
pandas 2.0.3
pandocfilters 1.5.0
panel 1.2.3
param 1.13.0
parsel 1.6.0
parso 0.8.3
partd 1.4.0
pathlib 1.0.1
pathspec 0.10.3
patsy 0.5.3
pep8 1.7.1
pexpect 4.8.0
pickleshare 0.7.5
Pillow 9.4.0
pip 24.0
pkce 1.0.3
pkginfo 1.9.6
platformdirs 3.10.0
plotly 5.9.0
pluggy 1.0.0
ply 3.11
poyo 0.5.0
prometheus-client 0.14.1
prompt-toolkit 3.0.36
Protego 0.1.16
protobuf 4.25.2
psutil 5.9.0
ptyprocess 0.7.0
pure-eval 0.2.2
py-cpuinfo 8.0.0
pyarrow 11.0.0
pyasn1 0.4.8
pyasn1-modules 0.2.8
pycodestyle 2.10.0
pycosat 0.6.4
pycparser 2.21
pyct 0.5.0
pycurl 7.45.2
pydantic 1.10.8
PyDispatcher 2.0.5
pydocstyle 6.3.0
pyerfa 2.0.0
pyflakes 3.0.1
Pygments 2.15.1
PyJWT 2.4.0
pylint 2.16.2
pylint-venv 2.3.0
pyls-spyder 0.4.0
pyodbc 4.0.34
pyOpenSSL 23.2.0
pyparsing 3.0.9
PyQt5-Qt5 5.15.2
PyQt5-sip 12.13.0
pyrsistent 0.18.0
PySocks 1.7.1
pytest 7.4.0
pytest-qt 4.3.1
python-box 6.1.0
python-dateutil 2.8.2
python-dotenv 0.21.0
python-json-logger 2.0.7
python-lsp-black 1.2.1
python-lsp-jsonrpc 1.0.0
python-lsp-server 1.7.2
python-slugify 5.0.2
python-snappy 0.6.1
pytoolconfig 1.2.5
pytz 2023.3.post1
pyviz-comms 2.3.0
PyWavelets 1.4.1
pyxdg 0.27
PyYAML 6.0
pyzmq 23.2.0
QDarkStyle 3.0.2
qstylizer 0.2.2
QtAwesome 1.2.2
qtconsole 5.4.2
QtPy 2.2.0
queuelib 1.5.0
readme-renderer 42.0
regex 2022.7.9
requests 2.31.0
requests-file 1.5.1
requests-toolbelt 1.0.0
responses 0.13.3
rfc3339-validator 0.1.4
rfc3986 2.0.0
rfc3986-validator 0.1.1
rich 13.7.0
rope 1.7.0
Rtree 1.0.1
ruamel.yaml 0.17.21
ruamel-yaml-conda 0.17.21
ruff 0.1.9
s3fs 2023.4.0
safetensors 0.3.2
scikit-image 0.20.0
scikit-learn 1.3.0
scikit-learn-intelex 20230426.111612
scipy 1.11.1
Scrapy 2.8.0
seaborn 0.12.2
SecretStorage 3.3.1
semantic-version 2.10.0
Send2Trash 1.8.0
sentry-sdk 1.42.0
service-identity 18.1.0
setuptools 69.2.0
shapely 2.0.2
simplejson 3.19.2
sip 6.6.2
six 1.16.0
smart-open 5.2.1
sniffio 1.2.0
snowballstemmer 2.2.0
sortedcontainers 2.4.0
soupsieve 2.4
Sphinx 5.0.2
sphinxcontrib-applehelp 1.0.2
sphinxcontrib-devhelp 1.0.2
sphinxcontrib-htmlhelp 2.0.0
sphinxcontrib-jsmath 1.0.1
sphinxcontrib-qthelp 1.0.3
sphinxcontrib-serializinghtml 1.1.5
spyder 5.4.3
spyder-kernels 2.4.4
SQLAlchemy 1.4.39
stack-data 0.2.0
statsmodels 0.14.0
sympy 1.11.1
tables 3.8.0
tabulate 0.8.10
TBB 0.2
tblib 1.7.0
tenacity 8.2.2
termcolor 2.4.0
terminado 0.17.1
text-unidecode 1.3
textdistance 4.2.1
thop 0.1.1.post2209072238
threadpoolctl 2.2.0
three-merge 0.1.1
tifffile 2023.4.12
tinycss2 1.2.1
tldextract 3.2.0
tokenizers 0.13.2
toml 0.10.2
tomlkit 0.11.1
toolz 0.12.0
torch 2.2.1
torchvision 0.17.1
tornado 6.3.2
tqdm 4.65.0
traitlets 5.7.1
transformers 4.32.1
triton 2.2.0
twine 4.0.2
Twisted 22.10.0
typing_extensions 4.10.0
tzdata 2023.3
uc-micro-py 1.0.1
ujson 5.4.0
ultralytics 8.1.29
Unidecode 1.2.0
urllib3 1.26.16
w3lib 1.21.0
watchdog 2.1.6
wcwidth 0.2.5
webencodings 0.5.1
websocket-client 0.58.0
Werkzeug 2.2.3
whatthepatch 1.0.2
wheel 0.38.4
widgetsnbextension 4.0.5
wrapt 1.14.1
wurlitzer 3.0.2
xarray 2023.6.0
xxhash 2.0.2
xyzservices 2022.9.0
y-py 0.5.9
yapf 0.31.0
yarl 1.8.1
ypy-websocket 0.8.2
zict 2.2.0
zipp 3.11.0
zope.interface 5.4.0
zstandard 0.19.0
(new_env) ik@ik-Ubuntu:~/notebooks$ pip list | grep wandb
(new_env) ik@ik-Ubuntu:~/notebooks$ pip install wandb
Collecting wandb
Downloading wandb-0.16.6-py3-none-any.whl.metadata (10 kB)
Requirement already satisfied: Click!=8.0.0,>=7.1 in /home/ik/anaconda3/lib/python3.11/site-packages (from wandb) (8.0.4)
Collecting GitPython!=3.1.29,>=1.0.0 (from wandb)
Downloading GitPython-3.1.43-py3-none-any.whl.metadata (13 kB)
Requirement already satisfied: requests<3,>=2.0.0 in /home/ik/anaconda3/lib/python3.11/site-packages (from wandb) (2.31.0)
Requirement already satisfied: psutil>=5.0.0 in /home/ik/anaconda3/lib/python3.11/site-packages (from wandb) (5.9.0)
Requirement already satisfied: sentry-sdk>=1.0.0 in /home/ik/anaconda3/lib/python3.11/site-packages (from wandb) (1.42.0)
Collecting docker-pycreds>=0.4.0 (from wandb)
Using cached docker_pycreds-0.4.0-py2.py3-none-any.whl.metadata (1.8 kB)
Requirement already satisfied: PyYAML in /home/ik/anaconda3/lib/python3.11/site-packages (from wandb) (6.0)
Collecting setproctitle (from wandb)
Using cached setproctitle-1.3.3-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (9.9 kB)
Requirement already satisfied: setuptools in /home/ik/anaconda3/lib/python3.11/site-packages (from wandb) (69.2.0)
Requirement already satisfied: appdirs>=1.4.3 in /home/ik/anaconda3/lib/python3.11/site-packages (from wandb) (1.4.4)
Requirement already satisfied: protobuf!=4.21.0,<5,>=3.19.0 in /home/ik/anaconda3/lib/python3.11/site-packages (from wandb) (4.25.2)
Requirement already satisfied: six>=1.4.0 in /home/ik/anaconda3/lib/python3.11/site-packages (from docker-pycreds>=0.4.0->wandb) (1.16.0)
Collecting gitdb<5,>=4.0.1 (from GitPython!=3.1.29,>=1.0.0->wandb)
Using cached gitdb-4.0.11-py3-none-any.whl.metadata (1.2 kB)
Requirement already satisfied: charset-normalizer<4,>=2 in /home/ik/anaconda3/lib/python3.11/site-packages (from requests<3,>=2.0.0->wandb) (2.0.4)
Requirement already satisfied: idna<4,>=2.5 in /home/ik/anaconda3/lib/python3.11/site-packages (from requests<3,>=2.0.0->wandb) (3.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in /home/ik/anaconda3/lib/python3.11/site-packages (from requests<3,>=2.0.0->wandb) (1.26.16)
Requirement already satisfied: certifi>=2017.4.17 in /home/ik/anaconda3/lib/python3.11/site-packages (from requests<3,>=2.0.0->wandb) (2023.7.22)
Collecting smmap<6,>=3.0.1 (from gitdb<5,>=4.0.1->GitPython!=3.1.29,>=1.0.0->wandb)
Using cached smmap-5.0.1-py3-none-any.whl.metadata (4.3 kB)
Downloading wandb-0.16.6-py3-none-any.whl (2.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.2/2.2 MB 13.6 MB/s eta 0:00:00
Using cached docker_pycreds-0.4.0-py2.py3-none-any.whl (9.0 kB)
Downloading GitPython-3.1.43-py3-none-any.whl (207 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 207.3/207.3 kB 12.5 MB/s eta 0:00:00
Using cached setproctitle-1.3.3-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (31 kB)
Using cached gitdb-4.0.11-py3-none-any.whl (62 kB)
Using cached smmap-5.0.1-py3-none-any.whl (24 kB)
Installing collected packages: smmap, setproctitle, docker-pycreds, gitdb, GitPython, wandb
Successfully installed GitPython-3.1.43 docker-pycreds-0.4.0 gitdb-4.0.11 setproctitle-1.3.3 smmap-5.0.1 wandb-0.16.6
(new_env) ik@ik-Ubuntu:~/notebooks$ pip list | grep wandb
wandb 0.16.6
(new_env) ik@ik-Ubuntu:~/notebooks$ python 11.py
/home/ik/anaconda3/lib/python3.11/site-packages/wandb/__init__.py
(new_env) ik@ik-Ubuntu:~/notebooks$
from wandb.
Related Issues (20)
- [Q] How to turn off only model synching in huggingface integration HOT 19
- [App]: "This is ... personal exploration space. Changes you make will be discarded at the end of the session. On own project. HOT 5
- [CLI]: `api.runs()` Method Returns Duplicate and Missing Runs HOT 7
- [CLI]: autologger not working for Stable Video Diffusion HOT 27
- [CLI]: wandb.errors.CommError: Run initialization has timed out after 90.0 sec. “Is it wandb'server error?” HOT 13
- [App]: Cannot see the curve that collides with x-axis when downloading and cannot see the complete number on x-axis HOT 2
- [CLI]: wandb/artifacts/staging not getting cleaned up HOT 3
- [CLI]: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf8 in position 0: invalid start byte HOT 5
- [Feature]: run sub wandb run inside an wandb run HOT 10
- [CLI]: nested logging of tables seems to be broken HOT 9
- [Q]Delete organization HOT 5
- [Q] How to rename the specific logged metrics in the whole projects. HOT 4
- [Q] Fetch all projects and reports of a user HOT 6
- [Q] How to directly obtain a figure with grey grid background and manually set label name HOT 2
- [CLI]: TypeError: ModelCheckpoint.__init__() got an unexpected keyword argument 'options' HOT 6
- [App]: Overlapping Sweep Name Column and Status Column on Sweep List Page HOT 1
- [Feature]: Don't capture KeyboardInterrupt on sweeps HOT 1
- [Q] How to sweep parameters that is defined in config.yaml file HOT 5
- Cannot create datamodule HOT 4
- Feedback HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wandb.